<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>首页</h1>
<a th:href="@{/hello/testRequestMapping}">测试代码value/testRequestMapping</a><br>
<a th:href="@{/hello/test}">测试代码value/test</a><br>
<a th:href="@{/hello/test}">测试代码method/get</a><br>
<form th:action="@{/hello/test}" method="post">
    <input type="submit">测试代码method/post
</form><br>
<a th:href="@{/hello/getmapping}">测试代码getmapping</a><br>

<form th:action="@{/hello/postmapping}" method="post">
    <input type="submit">测试代码postmapping
</form><br>

<a th:href="@{/hello/testParams(username='admin',password=123456)}">testParams</a><br>
<a th:href="@{/hello/testRestFul/1/admin}">testRestFul</a><br>


<form th:action="@{/testpojo}" method="post">
    用户名：<input type="text" name="username"><br>
    密码：<input type="password" name="password"><br>
    性别：<input type="radio" name="sex" value="男">男<input type="radio" name="sex" value="女">女<br>
    年龄：<input type="text" name="age"><br>
    邮箱：<input type="text" name="email"><br>
    <input type="submit">
</form>
</body>
</html>